package com.fas.system.domain;

import com.fas.common.annotation.Excel;
import com.fas.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 建筑公司对象 fas_building
 *
 * @author ruoyi
 * @date 2022-04-27
 */
@ApiModel(value = "建筑公司实体")
public class FasBuilding extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    private Long id;

    /**
     * 建筑名称
     */
    @ApiModelProperty(value = "建筑物名称")
    @Excel(name = "建筑物名称")
    private String buildingName;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "建筑详细地址")
    @Excel(name = "建筑详细地址")
    private String address;

    /**  (已弃用)
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    private String contact;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    @Excel(name = "联系电话")
    private String contactNumber;

    /**
     * 管理公司名称
     */
    @ApiModelProperty(value = "管理公司名称")
    private String manageFirm;

    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private Long deptId;

    /**
     * 输入的任意查询条件
     */
    private String condition;

    /**
     * 建筑id
     */
    private String buildingId;

    /**
     * 建筑检查状态（0：未检查，1：已检查）
     */
    @ApiModelProperty(value = "建筑检查状态（0：未检查，1：已检查）")
    @Excel(name = "建筑检查状态",readConverterExp = "0=未检查,1=已检查",combo = {"0=未检查","1=已检查"})
    private Integer checkStatus;

    /**
     * 建筑地址
     */
    @ApiModelProperty(value = "建筑地址")
    @Excel(name = "建筑地址")
    private String buildingAddress;

    /**
     * 省份编码
     */
    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    /**
     * 省份名
     */
    @ApiModelProperty(value = "省份名")
    @Excel(name = "省份名")
    private String provinceName;

    /**
     * 城市编码
     */
    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称")
    @Excel(name = "城市名称")
    private String cityName;

    /**
     * 区域（区县级）编码
     */
    @ApiModelProperty(value = "区域（区县级）编码")
    private String areaCode;

    /**
     * 区域（区县级）名称
     */
    @ApiModelProperty(value = "区域（区县级）名称")
    @Excel(name = "区县名称",required = false)
    private String areaName;

    /**
     * 乡镇编码
     */
    @ApiModelProperty(value = "乡镇编码")
    private String wayCode;

    /**
     * 乡镇名称
     */
    @ApiModelProperty(value = "乡镇名称")
    @Excel(name = "乡镇名称")
    private String wayName;

    /**
     * 建筑时间
     */
    @ApiModelProperty(value = "建筑时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date constructionTime;

    /**
     * 详细地址
     */
    @ApiModelProperty(value = "竣工时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date completionTime;

    /**
     * 安全责任人
     */
    @ApiModelProperty(value = "安全责任人")
    @Excel(name = "安全责任人")
    private String safetyResponsiblePerson;

    /**
     * 路名
     */
    @ApiModelProperty(value = "路名")
    private String roadName;

    /**
     * 3位街道编码
     */
    @ApiModelProperty(value = "3位街道编码")
    private String streetCode;

    /**
     * 门牌号
     */
    @ApiModelProperty(value = "门牌号")
    private String houseNumber;

    /**
     * 楼栋幢
     */
    @ApiModelProperty(value = "楼栋幢")
    private String buildings;

    /**
     * 建筑高度
     */
    @ApiModelProperty(value = "建筑高度")
    @Excel(name = "建筑高度")
    private Double buildingHeight;

    /**
     * 建筑面积
     */
    @ApiModelProperty(value = "建筑面积")
    @Excel(name = "建筑面积")
    private Double buildingArea;

    /**
     * 建筑分类
     */
    @ApiModelProperty(value = "建筑分类")
    @Excel(name = "建筑分类",dictType = "sys_building_class")
    private String buildingType;

    /**
     * 建筑结构
     */
    @ApiModelProperty(value = "建筑结构")
    @Excel(name = "建筑结构",dictType = "sys_buding_structure")
    private String buildingStructure;

    /**
     * 耐火等级
     */
    @ApiModelProperty(value = "耐火等级")
    @Excel(name = "耐火等级",readConverterExp = "1=一级,2=二级,3=三级,4=四级")
    private String fireResistanceLevel;

    /**
     * 危险等级
     */
    @ApiModelProperty(value = "危险等级")
    @Excel(name = "危险等级",readConverterExp = "1=一级,2=二级,3=三级,4=四级")
    private String hazardLevel;

    /**
     * 消控室(0:无，1：有)
     */
    @ApiModelProperty(value = "消控室(0:无，1：有)")
    @Excel(name = "消控室",readConverterExp = "0=无,1=有")
    private Integer fireControlRoom;

    /**
     * 建筑使用情况
     */
    @ApiModelProperty(value = "建筑使用情况（1：未使用，2：使用中）")
    @Excel(name = "建筑使用情况",readConverterExp = "1=未使用,2=使用中")
    private String buildingUsage;

    /**
     * 建筑用途分类
     */
    @ApiModelProperty(value = "建筑用途分类")
    private String buildingClassification;

    /**
     * 产权及使用情况
     */
    @ApiModelProperty(value = "产权及使用情况（property_right）")
    @Excel(name = "产权及使用情况",dictType = "property_right")
    private String propertyUsage;

    /**
     * 占地面积
     */
    @ApiModelProperty(value = "占地面积")
    private Double areaCovered;

    /**
     * 标准层面积
     */
    @ApiModelProperty(value = "标准层面积")
    private Double standardFloorArea;

    /**
     * 地下层数
     */
    @ApiModelProperty(value = "地下层数")
    @Excel(name = "地下层数")
    private Integer undergroundNumber;

    /**
     * 地下面积
     */
    @ApiModelProperty(value = "地下面积")
    private Double undergroundArea;

    /**
     * 地上层数
     */
    @ApiModelProperty(value = "地上层数")
    @Excel(name = "地上层数")
    private Integer abovegroundNumber;

    /**
     * 地上面积
     */
    @ApiModelProperty(value = "地上面积")
    private Double abovegroundArea;

    /**
     * 避难层数量
     */
    @ApiModelProperty(value = "避难层数量")
    private Integer refugeFloorNumber;

    /**
     * 避难层面积
     */
    @ApiModelProperty(value = "避难层面积")
    private Double refugeFloorArea;

    /**
     * 避难层位置
     */
    @ApiModelProperty(value = "避难层位置")
    private String refugeFloorPosition;

    /**
     * 消防电梯数
     */
    @ApiModelProperty(value = "消防电梯数")
    private Integer elevatorsNumber;

    /**
     * 消防电梯位置
     */
    @ApiModelProperty(value = "消防电梯位置")
    private String elevatorsPosition;

    /**
     * 入住使用功能
     */
    @ApiModelProperty(value = "入住使用功能")
    private String useFunction;

    /**
     * 最大容纳人数
     */
    @ApiModelProperty(value = "最大容纳人数")
    private Integer maxAccommodate;

    /**
     * 自动消防设施(0:无，1：有)
     */
    @ApiModelProperty(value = "自动消防设施(0:无，1：有)")
    private Integer autoFireFacilities;

    /**
     * 设施完好情况(0:合格，1：不合格)
     */
    @ApiModelProperty(value = "设施完好情况(0:合格，1：不合格)")
    @Excel(name = "设施完好情况",readConverterExp = "0=合格,1=不合格")
    private Integer facilitiesComplete;

    /**
     * 模型编号
     */
    @ApiModelProperty(value = "模型编号")
    private String modelNumber;

    /**
     * 消防设施
     */
    @ApiModelProperty(value = "消防设施")
    private String fireFightingFacilities;

    /**
     * 毗邻建筑情况
     */
    @ApiModelProperty(value = "毗邻建筑情况")
    private String adjacentBuildings;

    /**
     * 地理情况
     */
    @ApiModelProperty(value = "地理情况")
    private String geographyUsage;

    @ApiModelProperty(value = "经度")
    @Excel(name = "经度")
    private Double longitude          ;//经度

    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度")
    private Double latitude           ;//纬度

    @ApiModelProperty(value = "监管级别(sys_dict_data:  supervise_level)")
    @Excel(name = "监管级别",dictType = "supervise_level")
    private String superviseLevel;//监管级别

    @ApiModelProperty(value = "监管类别(sys_dict_data:  supervise_type)")
    @Excel(name = "监管类别",dictType = "supervise_type")
    private String superviseTypeCode;//监管类别（supervise_type）

    @ApiModelProperty(value = "合作单位表id")
    private Integer cooperationCompanyId;//合作单位表id

    @ApiModelProperty(value = "建筑类别")
    @Excel(name = "建筑类别(示例：4,34)",required = false,type = Excel.Type.IMPORT)
    private String buildingCategoryCode;//建筑类别 对应表：fas_building_category

//非表字段
    @Excel(name = "合作单位名称")
    private String companyName;//合作单位名称

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContact() {
        return contact;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setManageFirm(String manageFirm) {
        this.manageFirm = manageFirm;
    }

    public String getManageFirm() {
        return manageFirm;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getBuildingAddress() {
        return buildingAddress;
    }

    public void setBuildingAddress(String buildingAddress) {
        this.buildingAddress = buildingAddress;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getWayCode() {
        return wayCode;
    }

    public void setWayCode(String wayCode) {
        this.wayCode = wayCode;
    }

    public String getWayName() {
        return wayName;
    }

    public void setWayName(String wayName) {
        this.wayName = wayName;
    }

    public Date getConstructionTime() {
        return constructionTime;
    }

    public void setConstructionTime(Date constructionTime) {
        this.constructionTime = constructionTime;
    }

    public Date getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(Date completionTime) {
        this.completionTime = completionTime;
    }

    public String getSafetyResponsiblePerson() {
        return safetyResponsiblePerson;
    }

    public void setSafetyResponsiblePerson(String safetyResponsiblePerson) {
        this.safetyResponsiblePerson = safetyResponsiblePerson;
    }

    public String getRoadName() {
        return roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }

    public String getStreetCode() {
        return streetCode;
    }

    public void setStreetCode(String streetCode) {
        this.streetCode = streetCode;
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    public String getBuildings() {
        return buildings;
    }

    public void setBuildings(String buildings) {
        this.buildings = buildings;
    }

    public Double getBuildingHeight() {
        return buildingHeight;
    }

    public void setBuildingHeight(Double buildingHeight) {
        this.buildingHeight = buildingHeight;
    }

    public Double getBuildingArea() {
        return buildingArea;
    }

    public void setBuildingArea(Double buildingArea) {
        this.buildingArea = buildingArea;
    }

    public String getBuildingType() {
        return buildingType;
    }

    public void setBuildingType(String buildingType) {
        this.buildingType = buildingType;
    }

    public String getBuildingStructure() {
        return buildingStructure;
    }

    public void setBuildingStructure(String buildingStructure) {
        this.buildingStructure = buildingStructure;
    }

    public String getFireResistanceLevel() {
        return fireResistanceLevel;
    }

    public void setFireResistanceLevel(String fireResistanceLevel) {
        this.fireResistanceLevel = fireResistanceLevel;
    }

    public String getHazardLevel() {
        return hazardLevel;
    }

    public void setHazardLevel(String hazardLevel) {
        this.hazardLevel = hazardLevel;
    }

    public Integer getFireControlRoom() {
        return fireControlRoom;
    }

    public void setFireControlRoom(Integer fireControlRoom) {
        this.fireControlRoom = fireControlRoom;
    }

    public String getBuildingUsage() {
        return buildingUsage;
    }

    public void setBuildingUsage(String buildingUsage) {
        this.buildingUsage = buildingUsage;
    }

    public String getBuildingClassification() {
        return buildingClassification;
    }

    public void setBuildingClassification(String buildingClassification) {
        this.buildingClassification = buildingClassification;
    }

    public String getPropertyUsage() {
        return propertyUsage;
    }

    public void setPropertyUsage(String propertyUsage) {
        this.propertyUsage = propertyUsage;
    }

    public Double getAreaCovered() {
        return areaCovered;
    }

    public void setAreaCovered(Double areaCovered) {
        this.areaCovered = areaCovered;
    }

    public Double getStandardFloorArea() {
        return standardFloorArea;
    }

    public void setStandardFloorArea(Double standardFloorArea) {
        this.standardFloorArea = standardFloorArea;
    }

    public Integer getUndergroundNumber() {
        return undergroundNumber;
    }

    public void setUndergroundNumber(Integer undergroundNumber) {
        this.undergroundNumber = undergroundNumber;
    }

    public Double getUndergroundArea() {
        return undergroundArea;
    }

    public void setUndergroundArea(Double undergroundArea) {
        this.undergroundArea = undergroundArea;
    }

    public Integer getAbovegroundNumber() {
        return abovegroundNumber;
    }

    public void setAbovegroundNumber(Integer abovegroundNumber) {
        this.abovegroundNumber = abovegroundNumber;
    }

    public Double getAbovegroundArea() {
        return abovegroundArea;
    }

    public void setAbovegroundArea(Double abovegroundArea) {
        this.abovegroundArea = abovegroundArea;
    }

    public Integer getRefugeFloorNumber() {
        return refugeFloorNumber;
    }

    public void setRefugeFloorNumber(Integer refugeFloorNumber) {
        this.refugeFloorNumber = refugeFloorNumber;
    }

    public Double getRefugeFloorArea() {
        return refugeFloorArea;
    }

    public void setRefugeFloorArea(Double refugeFloorArea) {
        this.refugeFloorArea = refugeFloorArea;
    }

    public String getRefugeFloorPosition() {
        return refugeFloorPosition;
    }

    public void setRefugeFloorPosition(String refugeFloorPosition) {
        this.refugeFloorPosition = refugeFloorPosition;
    }

    public Integer getElevatorsNumber() {
        return elevatorsNumber;
    }

    public void setElevatorsNumber(Integer elevatorsNumber) {
        this.elevatorsNumber = elevatorsNumber;
    }

    public String getElevatorsPosition() {
        return elevatorsPosition;
    }

    public void setElevatorsPosition(String elevatorsPosition) {
        this.elevatorsPosition = elevatorsPosition;
    }

    public String getUseFunction() {
        return useFunction;
    }

    public void setUseFunction(String useFunction) {
        this.useFunction = useFunction;
    }

    public Integer getMaxAccommodate() {
        return maxAccommodate;
    }

    public void setMaxAccommodate(Integer maxAccommodate) {
        this.maxAccommodate = maxAccommodate;
    }

    public Integer getAutoFireFacilities() {
        return autoFireFacilities;
    }

    public void setAutoFireFacilities(Integer autoFireFacilities) {
        this.autoFireFacilities = autoFireFacilities;
    }

    public Integer getFacilitiesComplete() {
        return facilitiesComplete;
    }

    public void setFacilitiesComplete(Integer facilitiesComplete) {
        this.facilitiesComplete = facilitiesComplete;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getFireFightingFacilities() {
        return fireFightingFacilities;
    }

    public void setFireFightingFacilities(String fireFightingFacilities) {
        this.fireFightingFacilities = fireFightingFacilities;
    }

    public String getAdjacentBuildings() {
        return adjacentBuildings;
    }

    public void setAdjacentBuildings(String adjacentBuildings) {
        this.adjacentBuildings = adjacentBuildings;
    }

    public String getGeographyUsage() {
        return geographyUsage;
    }

    public void setGeographyUsage(String geographyUsage) {
        this.geographyUsage = geographyUsage;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getSuperviseLevel() {
        return superviseLevel;
    }

    public void setSuperviseLevel(String superviseLevel) {
        this.superviseLevel = superviseLevel;
    }

    public Integer getCooperationCompanyId() {
        return cooperationCompanyId;
    }

    public void setCooperationCompanyId(Integer cooperationCompanyId) {
        this.cooperationCompanyId = cooperationCompanyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getSuperviseTypeCode() {
        return superviseTypeCode;
    }

    public void setSuperviseTypeCode(String superviseTypeCode) {
        this.superviseTypeCode = superviseTypeCode;
    }

    public String getBuildingCategoryCode() {
        return buildingCategoryCode;
    }

    public void setBuildingCategoryCode(String buildingCategoryCode) {
        this.buildingCategoryCode = buildingCategoryCode;
    }
}
